Optimal. Leaf size=67 \[ -\frac{\sqrt{2} \cos (c+d x) F_1\left (\frac{1}{2};\frac{1}{2},-n;\frac{3}{2};\frac{1}{2} (1-\sin (c+d x)),4 (1-\sin (c+d x))\right )}{d \sqrt{\sin (c+d x)+1}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0381583, antiderivative size = 67, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 12, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.167, Rules used = {2665, 138} \[ -\frac{\sqrt{2} \cos (c+d x) F_1\left (\frac{1}{2};\frac{1}{2},-n;\frac{3}{2};\frac{1}{2} (1-\sin (c+d x)),4 (1-\sin (c+d x))\right )}{d \sqrt{\sin (c+d x)+1}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2665
Rule 138
Rubi steps
\begin{align*} \int (-3+4 \sin (c+d x))^n \, dx &=\frac{\cos (c+d x) \operatorname{Subst}\left (\int \frac{(-3+4 x)^n}{\sqrt{1-x} \sqrt{1+x}} \, dx,x,\sin (c+d x)\right )}{d \sqrt{1-\sin (c+d x)} \sqrt{1+\sin (c+d x)}}\\ &=-\frac{\sqrt{2} F_1\left (\frac{1}{2};\frac{1}{2},-n;\frac{3}{2};\frac{1}{2} (1-\sin (c+d x)),4 (1-\sin (c+d x))\right ) \cos (c+d x)}{d \sqrt{1+\sin (c+d x)}}\\ \end{align*}
Mathematica [A] time = 0.147868, size = 83, normalized size = 1.24 \[ \frac{\sqrt{\cos ^2(c+d x)} \sec (c+d x) (4 \sin (c+d x)-3)^{n+1} F_1\left (n+1;\frac{1}{2},\frac{1}{2};n+2;\frac{1}{7} (3-4 \sin (c+d x)),4 \sin (c+d x)-3\right )}{\sqrt{7} d (n+1)} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.372, size = 0, normalized size = 0. \begin{align*} \int \left ( -3+4\,\sin \left ( dx+c \right ) \right ) ^{n}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (4 \, \sin \left (d x + c\right ) - 3\right )}^{n}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left ({\left (4 \, \sin \left (d x + c\right ) - 3\right )}^{n}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (4 \sin{\left (c + d x \right )} - 3\right )^{n}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (4 \, \sin \left (d x + c\right ) - 3\right )}^{n}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]